﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
    <title>视频</title>
    <script type="text/javascript" src="../JS/Method.js" language="javascript"></script>
    <script type="text/javascript" src="../JS/Class.js" language="javascript"></script>
    <script type="text/javascript" src="../JS/Dialog.js" language="javascript"></script>
    <link href="../CSS/Design.css" rel="stylesheet" type="text/css" />
    <link href="../CSS/Dialog.css" rel="stylesheet" type="text/css" />
</head>
<body>
	<div class="divDialog" id="divDialog">
		<div class="divTitle" id="divTitle">
			<div id="title">视频</div>			
			<div id="close" onclick="Dialog.Hide();"></div>
		</div>
		<div class="divMiddle" id="divMiddle">
			<div id="content" style="width: 92%;">			    
			    <table class="dialogTable">
			        <tr>
			            <td style="width:20%;">链接地址</td>
			            <td><input id="txtUrl" type="text" style="width: 300px;" /></td>
			        </tr>
                    <tr>
                        <td>视频类型</td>
                        <td><input id="radFlash" name="radVedio" type="radio" value="Flash" />
                            <label for="radFlash">Flash player</label>
                            <input id="radMedia" name="radVedio" type="radio" value="Media" />
                            <label for="radMedia">Media player</label>
                            <input id="radReal" name="radVedio" type="radio" value="Real" />
                            <label for="radReal">Real player</label></td>
                    </tr>
                    <tr>
                        <td>自动播放</td>
                        <td><input id="radYes" name="radPlay" type="radio" value="1" />
                            <label for="radYes">开  启</label>
                            <input id="radNo" name="radPlay" type="radio" value="0" />
                            <label for="radNo">禁  止</label></td>
                    </tr>
                    <tr>
                        <td>循环次数</td>
                        <td><input id="txtLoop" type="text" value="0" style="width: 40%;" maxlength="2" /></td>
                    </tr>
                    <tr>
                        <td>视频高度</td>
                        <td><input id="txtHeight" type="text" value="200" style="width: 40%;" maxlength="4" /></td>
                    </tr>
                    <tr>
                        <td>视频宽度</td>
                        <td><input id="txtWidth" type="text" value="200" style="width: 40%;" maxlength="4" /></td>
                    </tr>
                    <tr>
                        <td colspan ="2">
                            <div class="imagePreview" id="divPreview"></div>
                         </td>
                    </tr>
                </table>			    
			</div>
		</div>
		<div class="divBottom">
		  <input type="button" id="btnSubmit" value="确 定" class="btn" onclick="Dialog.VedioOK();" />
		  <input type="button" id="btnCancel" value="取 消" class="btn" onclick="Dialog.Hide();" />
		</div>
	</div>
</body>
</html>

<script type="text/javascript">
    Dialog.VedioText();
</script>